package com.bdqn.zhang.service.impl;

import com.bdqn.zhang.dao.VivodingdanDao;
import com.bdqn.zhang.dao.impl.VivodingdanDaoimpl;
import com.bdqn.zhang.pojo.Vivodingdan;
import com.bdqn.zhang.service.ServiceVivodingdan;

import java.util.List;

public class ServiceVivodingdanimpl implements ServiceVivodingdan {
    VivodingdanDao vivodingdanDao=new VivodingdanDaoimpl();
    @Override
    public List<Vivodingdan> getAll(int from, int pageSixe) {
        return vivodingdanDao.getAll(from,pageSixe);
    }

    @Override
    public int getCount() {
        return vivodingdanDao.getCount();
    }
}
